import axios from 'axios';

export class RequestServerClass {
  public serverObj: any;

  constructor(opt: object) {
    const obj = {
      headers: {
        'Cache-Control': 'no-cache',
      },
    };
    Object.assign(obj, opt);
    this.serverObj = axios.create(obj);
  }
}
